<%@ page import="java.util.List" %>
<%@ page import="entity.MixPFO" %><%--
  Created by IntelliJ IDEA.
  User: zhouya
  Date: 2019/6/22/0022
  Time: 16:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%
        List<MixPFO> list=(List<MixPFO>)request.getAttribute("list");
    %>
    <style rel="stylesheet" type="text/css" >
        table{border: 1px solid gray;border-collapse: collapse;width: 100% }
        td{border: 1px solid gray;text-align: center;}
        a {color: rgba(1, 4, 12, 0.97); text-decoration:none;}
        a:visited {text-decoration:none;}
        a:hover {color:#ba2636;text-decoration:underline;}
        a:active {color:#ba2636;}
    </style>
</head>
<body>
<div>
    <form action="ReviewPassageDetailServlet" method="post">
        <%for(MixPFO ls:list){%>
        文章标题：<input type="text" value="<%=ls.getTitle()%>" name="title"><br>
        创建日期：<input value="<%=ls.getCreateDate()%>" name="createDate" type="text"><br>
        文章内容：<input value="<%=ls.getContent()%>" name="content" type="text"><br>
        是否置顶：<input value="<%=ls.getRoof()%>" name="roof" type="text"><br>
        <a href="AdminPassageUpdateServlet?passageId=<%=ls.getPassageID()%>">确认修改</a><br>
        <%}%>
        <a href="AdminAllPassageServlet?page=1">返回</a>
    </form>
</div>

</body>
</html>
